package com.cq.hd.system.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 汇付省市区表
 * </p>
 *
 * @author mYunYu
 * @since 2023-12-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_hf_regions")
@ApiModel(value="TbHfRegionsPo对象", description="汇付省市区表")
public class TbHfRegionsPo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "地区id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "父地区id")
    @TableField("parent_id")
    private Long parentId;

    @ApiModelProperty(value = "级别")
    @TableField("region_grade")
    private Integer regionGrade;

    @ApiModelProperty(value = "名称")
    @TableField("local_name")
    private String localName;

    @ApiModelProperty(value = "地区code码")
    @TableField("code")
    private String code;


}
